/**
 * Created by xiongisxiong on 2018/5/25.
 */

// 设置播放歌曲id
export const setPlayId = id => ({
  type: 'SET_PLAY_ID',
  id,
}) 

// 设置播放歌曲详情
export const setPlaySong = song => ({
  type: 'SET_PLAY_SONG',
  song,
});

// 设置播放video详情
export const setPlayVideo = video => ({
  type: 'SET_PLAY_VIDEO',
  video,
})

export const TYPE = {
  SET_PLAY_ID: 'SET_PLAY_ID',
  SET_PLAY_SONG: 'SET_PLAY_SONG',
  SET_PLAY_VIDEO: 'SET_PLAY_VIDEO',
};